export function applyMixins(x: any, ys: any[]) {
	ys.forEach(y => {
		Object.getOwnPropertyNames(y.prototype).forEach(name => {
			Object.defineProperty(x.prototype, name, Object.getOwnPropertyDescriptor(x.prototype, name) || Object.create(null));
		});
	});
}
